package com.tbsoft.ehr.service.notify;

import java.io.IOException;
import java.util.List;

import com.tbsoft.ehr.model.NotifyFile;
import com.tbsoft.ehr.service.BaseService;
/**
 * @desc 系统公告service
 * @author vastdream
 *
 */
public interface NotifyService extends BaseService{
	/**
	 * @desc 根据类型查找对应公告信息
	 * @param type
	 * @return
	 */
	public List<NotifyFile> getNotifyFileByType(String type);
	
	public NotifyFile getNotifyFileById(String fileId);
	
	public List<NotifyFile> getNotifyFileList(String type,String scId);
	
	public void addNotifyFile(String notifyType,String fileName,String scId,String uploadFile)throws Exception;
	
	public void updateNotifyFile(String fileId,String notifyType,String fileName,String scId,String uploadFile) throws Exception;
	
	public void deleteNotifyFile(String fileId) throws Exception;
}
